package com.example.boot.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.boot.modules.system.entity.Client;
import com.example.boot.modules.system.mapper.ClientMapper;
import com.example.boot.modules.system.service.IClientService;
import org.springframework.stereotype.Service;

/**
 * @author 王令
 * @since 2023-02-15
 */
@Service
public class ClientServiceImpl extends ServiceImpl<ClientMapper, Client> implements IClientService {

    @Override
    public void create(Client client) {
        baseMapper.insert(client);
    }

    @Override
    public void update(Client client) {
        baseMapper.updateById(client);
    }
}
